package com.crud.service;

import com.crud.bean.Employee;

import java.util.List;

/**
 * @author wzm
 * @create 2023-05-08 10:23
 */
public interface EmployeeService {
    //新增
    boolean add(Employee employee);
    //删除
    boolean remove(Employee employee);
    //修改
    boolean modify(Employee employee);
    //根据id查询
    Employee findById(Employee employee);
    //查询全部
    List<Employee> findByAll();

}
